package deom1;

public class Student implements TOag {
      public String name;
      public int age;
    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public int Toage(Student o){
        return this.age-o.age;
    }
    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }


}
